import { defineConfig } from "vitepress";

export default defineConfig({
  title: "C1 开发套件",
  description: "C1 开发套件",
  lastUpdated: true,
  lang: "zh-CN",
  themeConfig: {
    outlineTitle: "目录",

    nav: [
      { text: "首页", link: "/" },
      {
        text: "项目", items: [
          { text: "概况", link: "/projects/overview/", activeMatch: "/projects/overview/" },
          { text: "Card One ", link: "/projects/card-one/", activeMatch: "/projects/card-one/" },
          { text: "Card One Boot ", link: "/projects/card-one-boot/", activeMatch: "/projects/card-one-boot/" },
          { text: "Card One Web ", link: "/projects/card-one-web/", activeMatch: "/projects/card-one-web/" }
        ]
      },
    ],

    // sidebar: {
    //   "/guide/": [
    //     {
    //       text: "快速上手",
    //       collapsible: true,
    //       collapsed: false,
    //       items: [
    //         { text: "工作日志", link: "/guide/2022/" },
    //         { text: "收获", link: "/guide/2022/harvest" },
    //         { text: "总结", link: "/guide/2022/summary" },
    //       ],
    //     },
    //   ],
    // },
  },
});
